.message {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  border-radius: 5px;
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.5);
  padding: 10px 30px;
  line-height: 2;
  display: flex;
  align-items: center;
  color: #fff;
  transition: 0.4s;
  transform: translate(-50%, -50%) translateY(25px);
  opacity: 0;
  white-space: nowrap;
}
.message-info {
  background: #6b9eee;
}
.message-success {
  background: #7ebf50;
}
.message-warn {
  background: #dc6a12;
}
.message-error {
  background: #cc3600;
}
.icon {
  font-size: 20px;
  margin-right: 7px;
}
